import sys
from PyQt5.QtWidgets import QApplication, QMainWindow
from myview import MyWindow, SecWindow

if __name__ == "__main__":
    app = QApplication(sys.argv)
    ui = MyWindow()
    secui = SecWindow()
    ui.jump_Btn.clicked.connect(secui.show)
    ui.jump_Btn.clicked.connect(ui.hide)
    secui.jump_Btn.clicked.connect(ui.show)
    secui.jump_Btn.clicked.connect(secui.hide)
    sys.exit(app.exec_())
